﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VxiLogging
{
    public class VxiLog
    {
        private static List<ILog> logs = new List<ILog>();
        public void AddLog(ILog log)
        {
            logs.Add(log);
        }

        public static void LogErrorMessage(string message)
        {
            foreach (ILog log in logs)
            {
                log.LogErrorMessage(message);
            }
        }

        public static void LogInformationMessage(string message)
        {
            foreach (ILog log in logs)
            {
                log.LogInformationMessage(message);
            }
        }
    }
}
